<html>
<head><meta charset="utf-8"><title>alignment increasing patch · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html">alignment increasing patch</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="148670627"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148670627" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148670627">(Nov 27 2018 at 21:49)</a>:</h4>
<p><span class="user-mention" data-user-id="119009">@eddyb</span> I remember we landed some code that icnreased alignment of structure field projections based on the structure itself, right?</p>



<a name="148670643"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148670643" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148670643">(Nov 27 2018 at 21:50)</a>:</h4>
<p>do you happen to remember in which compiler version that ended up being?</p>



<a name="148670688"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148670688" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148670688">(Nov 27 2018 at 21:50)</a>:</h4>
<p>because that’s most likely a culprit of <a href="https://github.com/rust-lang/rust/issues/56267" target="_blank" title="https://github.com/rust-lang/rust/issues/56267">https://github.com/rust-lang/rust/issues/56267</a> that I can think of</p>



<a name="148670707"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148670707" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148670707">(Nov 27 2018 at 21:50)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="133224">@Nikita Popov</span> ^ <span class="emoji emoji-1f642" title="slight smile">:slight_smile:</span></p>



<a name="148671394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148671394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nikita Popov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148671394">(Nov 27 2018 at 22:03)</a>:</h4>
<p><span class="user-mention" data-user-id="123586">@nagisa</span> I think I found the culprit: <a href="https://github.com/rust-lang/rust/issues/56267#issuecomment-442233210" target="_blank" title="https://github.com/rust-lang/rust/issues/56267#issuecomment-442233210">https://github.com/rust-lang/rust/issues/56267#issuecomment-442233210</a></p>



<a name="148671490"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148671490" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nikita Popov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148671490">(Nov 27 2018 at 22:04)</a>:</h4>
<p>That code probably ought to be using project_field</p>



<a name="148672639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148672639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148672639">(Nov 27 2018 at 22:21)</a>:</h4>
<p>no, there's no correspondence to fields</p>



<a name="148672705"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148672705" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148672705">(Nov 27 2018 at 22:22)</a>:</h4>
<p>just have to call restrict_for_offset</p>



<a name="148673394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148673394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148673394">(Nov 27 2018 at 22:33)</a>:</h4>
<p><span class="user-mention" data-user-id="133224">@Nikita Popov</span> <span class="user-mention" data-user-id="123586">@nagisa</span> left a comment on-thread</p>



<a name="148673454"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148673454" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148673454">(Nov 27 2018 at 22:34)</a>:</h4>
<p>is beta frozen already?</p>



<a name="148675843"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/alignment%20increasing%20patch/near/148675843" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/alignment.20increasing.20patch.html#148675843">(Nov 27 2018 at 23:17)</a>:</h4>
<p>beta is "frozen" in that we would prefer not to land any major work, but if something absolutely must get in, then it can</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>